home *** CD-ROM | disk | FTP | other *** search
/ Programming Languages Suite / ProgramD2.iso / Languages / Masm V6.11 / SAMPLES / NTSAMPLE / HELLO / HELLO.MA$ / HELLO.bin
Encoding:
Text File  |  1993-09-16  |  341 b   |  23 lines

  1.  
  2.  
  3. # Set this macro to 'VCNT' to use the Visual C++ tools.
  4. # Set it to anything else to use the Win32 SDK tools.
  5.  
  6. TOOLS = VCNT
  7.  
  8. !IF "$(TOOLS)" == "VCNT"
  9.  
  10. LINK = link
  11.  
  12. !ELSE
  13.  
  14. LINK = link32
  15.  
  16. !ENDIF
  17.  
  18.  
  19. all:
  20.       ml /c /coff hello.asm
  21.       $(LINK) -subsystem:console -entry:_start -out:hello.exe \
  22.      hello.obj kernel32.lib
  23.